#include <rthw.h>
#include <rtthread.h>
#include <rtdevice.h>
#include "stm32l1xx_hal.h"
#include "drv_gpio.h"
#include "pin.h"


#define LED_PIN_NUM     28

int test_pin()
{
    rt_pin_mode(LED_PIN_NUM, PIN_MODE_OUTPUT);
    rt_pin_write(LED_PIN_NUM,PIN_LOW);

    return RT_EOK;
}

MSH_CMD_EXPORT(test_pin, this is a test pin);
